dreamweaver.historyPalette.getStepsAsJavaScript()

Availability 3.0
Description Gets the JavaScript equivalent of the selected steps.
Arguments None.
Returns A string containing the JavaScript that corresponds to the selected steps.
Enabler None.
Example If the three steps shown in this example are selected in the History palette, a call to dw.historyPalette.getStepsAsJavaScript(dw.historyPalette.getSelectedSteps()) returns "dw.getDocumentDOM().insertText('Hey diddle diddle, a cat and a fiddle, the cow jumped over the moon.');\ndw.getDocumentDOM().newBlock();\n dw.getDocumentDOM().insertHTML('<img src=\"../wdw99/50browsers/images/sun.gif\">', true);\n":